import {post,uploadRequest} from '../../axios.js'

export default {
    //劳动课程列表
    xtjyCousList(params) {
        return post('/ycous/xtjyCousList', params)
    },
    //教研组人员列表
    xtjyUserList(params) {
        return post('/yjyz/xtjyUserList', params)
    },
    //查询不在教研组的老师
    listNotInJyzUser(params){
        return post('/yjyz/listNotInJyzUser', params)
    },
    //添加教研组成员
    addJyzUser(params) {
        return post('/yjyz/addJyzUser', params)
    },
    //添加劳动课程
    addLdCous(params) {
        return post('/ycous/addLdCous', params)
    },
    //课程章节列表
    listCousSatge(params) {
        return post('/ycousstage/listCousSatge', params)
    },
    //添加劳动课程章节
    addStage(params) {
        return post('/ycousstage/addStage', params)
    },
    //添加劳动课程小节
    addSection(params) {
        return post('/ycousstage/addSection', params)
    },
    //劳动课程详情
    cousInfo(params) {
        return post('/ycous/cousInfo', params)
    },
    //资源库列表
    listZyk(params) {
        return post('/ycous/listZyk', params)
    },
    //提交日志
    logsList(params) {
        return post('/yxtjylogs/logsList', params)
    },
    //劳动实践列表
    xtjyLdsjList(params) {
        return post('/yldsj/xtjyLdsjList', params)
    },
    //添加劳动实践
    addLdsj(params) {
        return post('/yldsj/addLdsj', params)
    },
    //劳动实践详情 参数：Integer id
    ldsjInfo(params) {
        return post('/yldsj/ldsjInfo', params)
    },
    //学年学期
    jyzXnxqlist(params) {
        return post('/dclass/jyzXnxqlist', params)
    },
    //学校教学计划
    getTeachPlanInfo(params) {
        return post('/yteachplan/getTeachPlanInfo', params)
    },
    //查询学校为设为教学任务的劳动实践
    notPlanLdsj(params) {
        return post('/yldsj/notPlanLdsj', params)
    },
    //保存教学计划
    savePlan(params) {
        return post('/yteachplan/savePlan', params)
    },
    //发布教学计划
    publish(params) {
        return post('/yteachplan/publish', params)
    },
    getXj(params){
        return post('/comm/getXj', params)
    },
    getZyList(params){
        return post('/comm/getZyList', params)
    },
    schoolClassList(params){
        return post('/dclass/schoolClassList', params)
    },
    schoolTrList(params){
        return post('/dteacher/schoolTrList', params)
    },
    zdClassTr(params){
        return post('/dclass/zdClassTr', params)
    },
    zykList(params){
        return post('/yxtjyzyk/zykList', params)
    },
    addKcVideo(params){
        return post('/ysectionfiles/addKcVideo', params)
    },
    addKj(params){
        return post('/ysectionfiles/addKj', params)
    },
    saveCousTask(params){
        return post('/yteachplan/saveCousTask', params)
    },
    saveSjTask(params){
        return post('/yteachplan/saveSjTask', params)
    },
    delSjTask(params){
        return post('/yteachplan/delSjTask', params)
    },
    //学校教学计划
    getClassListByXj(params) {
        return post('/dclass/getClassListByXj', params)
    },
    //获取教师列表
    getTrList(params) {
        return post('/xtjy/trList', params)
    },


    //学级
    xjlist(params) {
        return post('/dclass/xjlist', params)
    },


    //查询教师-劳动课程
    getCourseList(params) {
        return post('/ycous/list', params)
    },
    //查询教师-劳动实践
    getLdsjList(params) {
        return post('/yldsj/list', params)
    },
    //上传视频
    upLoadFile(params) {
        console.log("参数："+params);
        return uploadRequest('/comm/uploadVideo', params)
    },
};
